package com.ruoyi.stock.service;


import com.ruoyi.stock.domain.TransactionDiscipline;

import java.util.List;

/**
 * 交易纪律Service接口
 *
 * @author ruoyi
 * @date 2025-05-13
 */
public interface ITransactionDisciplineService {
    /**
     * 查询交易纪律
     *
     * @param id 交易纪律主键
     * @return 交易纪律
     */
    public TransactionDiscipline selectTransactionDisciplineById(Long id);

    /**
     * 查询交易纪律列表
     *
     * @param transactionDiscipline 交易纪律
     * @return 交易纪律集合
     */
    public List<TransactionDiscipline> selectTransactionDisciplineList(TransactionDiscipline transactionDiscipline);

    /**
     * 新增交易纪律
     *
     * @param transactionDiscipline 交易纪律
     * @return 结果
     */
    public int insertTransactionDiscipline(TransactionDiscipline transactionDiscipline);

    /**
     * 修改交易纪律
     *
     * @param transactionDiscipline 交易纪律
     * @return 结果
     */
    public int updateTransactionDiscipline(TransactionDiscipline transactionDiscipline);

    /**
     * 批量删除交易纪律
     *
     * @param ids 需要删除的交易纪律主键集合
     * @return 结果
     */
    public int deleteTransactionDisciplineByIds(Long[] ids);

    /**
     * 删除交易纪律信息
     *
     * @param id 交易纪律主键
     * @return 结果
     */
    public int deleteTransactionDisciplineById(Long id);
}
